public class Cone

	{
		double radius;
		double SlantHeight;
		double height;
		
	
	
		public Cone(double radius, double SlantHeight , double height)
	
		{
			this.radius = radius;
         this.SlantHeight = SlantHeight;
			this.height = height;

		}
		
		public double getSurfaceArea()
		{
		
			return ((Math.PI*radius*SlantHeight)+(Math.PI*(Math.pow(radius, 2))));
		}
		
		public double getVolume()
		{
		
			return ((1/3)*(Math.PI*(Math.pow(radius, 2))*height));
			
		}
		
	}
	
